package com.bishe.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * @TableName comment
 */
@TableName(value ="comment")
@Data
public class Comment implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String dataId;

    private String uid;

    private String context;

    private Integer score;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Date updateTime;

    @TableField(exist = false)
    private String name;

    private static final long serialVersionUID = 1L;
}